package com.rm.zeyou.service;

import com.rm.zeyou.entity.Technician;
import com.rm.zeyou.entity.TechnicianPayoutDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rm.zeyou.response.ApiRestResponse;
import com.rm.zeyou.vo.request.SelectUserPayoutIndexVo;
import com.rm.zeyou.vo.response.ConfirmPayoutResponseVo;
import com.rm.zeyou.vo.response.SelectUserPayoutIndexResponseVo;
import com.rm.zeyou.vo.response.UserPayoutVo;

import java.util.List;

/**
 * <p>
 * 用户提现表 服务类
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:09
 */
public interface TechnicianPayoutDetailService extends IService<TechnicianPayoutDetail> {

    ApiRestResponse<SelectUserPayoutIndexResponseVo> selectTechnicianPayoutIndex(Technician technician, SelectUserPayoutIndexVo requestVo);

    ApiRestResponse<Integer> technicianPayout(Technician technician, UserPayoutVo requestVo);

    void updateTechnicianWithdrawals();

    ApiRestResponse<List<ConfirmPayoutResponseVo>> technicianConfirmPayout(Technician technician);
}
